<input #input [type]="type" (input)="onChange(input.value)" [attr.required]="required" />
